---
layout: default
---
{% assign posts_count = paginator.posts | size %}
<div class="home">
  {% if posts_count > 0 %}
    <div class="posts">
      {% for post in paginator.posts %}
        <div class="post py3">
          <p class="post-meta">{{ post.date | date: site.date_format }}</p>
			<a href="{{ post.url | prepend: site.baseurl }}" class="post-link"><h3 class="h1 post-title">{{ post.title }}</h3></a>
			<!-- <p style='font-size: .75em;' dir='rtl'>最后更新于：{{ post.update_date | date: "%Y-%m-%d %H:%M:%S" }}</p> -->
          <p class="post-summary">
            {% if post.summary %}
              {{ post.summary }}
            {% else %}
              {{ post.excerpt | strip_html | truncate: 150 }}
            {% endif %}
          </p>
		  <a class='anchorjs-link' href="{{ post.url | prepend: site.baseurl }}">阅读全文...</a>
        </div>
      {% endfor %}
    </div>
    {% include pagination.html %}
  {% else %}
    <h1 class='center'>{{ site.text.index.coming_soon }}</h1>
  {% endif %}
</div>
